package com.ruoyi.biz.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 warned_notice_record
 *
 * @author ruoyi
 * @date 2020-12-28
 */
@Data
@ToString
public class WarnedNoticeRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 告警通知id */
    private Integer warnNoticeId;

    /** 告警记录id */
    @Excel(name = "告警记录id")
    private Long warnedRecordId;

    /** 通知状态：-1：失败 ；1：成功 */
    @Excel(name = "通知状态：-1：失败 ；1：成功")
    private Integer noticeStatus;

    /** 记录通知的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "记录通知的时间", width = 30,  dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date noticeTime;
}
